package com.alibaba.dingtalk.openapi.vo.workrecord;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class UpdateProcessInstanceRequest {

    /**
     * 企业应用标识
     */
    private Long agentid;

    /**
     * 实例id，通过创建待办实例接口获取
     */
    private String process_instance_id;

    /**
     * 实例状态，分为COMPLETED, TERMINATED
     */
    private String status;

    /**
     * 任务结果，分为agree和refuse；当status为TERMINATED时，不需要传result
     */
    private String result;

}
